	.386p
	model flat
	ifndef	??version
	?debug	macro
	endm
	endif
	?debug	S "C:\Romhack\trans\dm\Tools\DMDText\Globals.cpp"
	?debug	T "C:\Romhack\trans\dm\Tools\DMDText\Globals.cpp"
_TEXT	segment dword public use32 'CODE'
_TEXT	ends
_DATA	segment dword public use32 'DATA'
_DATA	ends
_BSS	segment dword public use32 'BSS'
_BSS	ends
DGROUP	group	_BSS,_DATA
_DATA	segment dword public use32 'DATA'
	align	4
_Vga	label	dword
	dd	0
_dirc	label	byte
	db	0
	db	511	dup(?)
_txtf	label	byte
	db	0
	db	511	dup(?)
_romf	label	byte
	db	0
	db	511	dup(?)
_tblf	label	byte
	db	0
	db	511	dup(?)
_cur_dir	label	byte
	db	0
	db	259	dup(?)
	align	4
_FoundAt	label	dword
	dd	0
	align	4
_ScrBuf	label	dword
	dd	0
	align	4
_ram	label	dword
	dd	0
	align	4
_tiles	label	dword
	dd	0
	align	4
_map	label	byte
	dd	0
	db	16	dup(?)
	align	4
_txt	label	byte
	dd	0
	db	292	dup(?)
	align	4
_textbox	label	byte
	dd	0
	dw	0
	db	6	dup(?)
	db	12	dup(?)
	align	4
_rom	label	byte
	dd	0
	db	8	dup(?)
	align	2
_reg	label	byte
	dw	0
	db	6	dup(?)
	align	2
_men	label	byte
	db	0
	db	0
	db	126	dup(?)
	db	16256	dup(?)
	db	8	dup(?)
	align	4
_ips	label	byte
	dd	0
	db	532	dup(?)
	align	4
_table	label	byte
	dd	0
	db	1020	dup(?)
	db	2048	dup(?)
	align	4
_cur_str	label	dword
	dd	0
	align	4
_StartPos	label	dword
	dd	0
	align	4
_ToEnd	label	dword
	dd	0
	align	4
_curLine	label	dword
	dd	0
	align	4
_indexLine	label	dword
	dd	0
	align	4
_WinX	label	dword
	dd	0
	align	4
_WinY	label	dword
	dd	0
	align	4
_EStr	label	dword
	dd	0
	align	4
_codes	label	byte
	dw	0
	db	0
	db	5	dup(?)
	db	2040	dup(?)
	align	4
_duals	label	byte
	dw	0
	db	0
	db	5	dup(?)
	db	524280	dup(?)
_cnDraw	label	byte
	db	0
_isActive	label	byte
	db	0
	align	4
_lpTxtBlocks	label	dword
	dd	0
	db	16380	dup(?)
	align	4
_lpTxtPoints	label	dword
	dd	0
	db	16380	dup(?)
	align	4
_lpPointSize	label	dword
	dd	0
	db	16380	dup(?)
	align	4
_lpTxtMaxPos	label	dword
	dd	0
	db	16380	dup(?)
$eaaekeia	label	byte
	db	0
	db	255	dup(?)
_DATA	ends
_TEXT	segment dword public use32 'CODE'
@GetIndex$qpc	segment virtual
@@GetIndex$qpc	proc	near
?live16385@0:
	push      ebp
	mov       ebp,esp
	add       esp,-256
	push      esi
	push      edi
@1:
	mov       esi,offset $eaaekeia
	lea       edi,dword ptr [ebp-256]
	mov       ecx,64
	rep   movsd
	push      dword ptr [ebp+8]
	lea       eax,dword ptr [ebp-256]
	push      eax
	call      @_strcpy
	add       esp,8
	movsx     edx,byte ptr [ebp-256]
	cmp       edx,88
	jg        short @9
	je        @4
	sub       edx,36
	je        short @8
	sub       edx,3
	je        short @7
	sub       edx,9
	je        short @6
	jmp       @2
@9:
	sub       edx,92
	je        short @5
	sub       edx,28
	je        short @4
	jmp       @2
@8:
	push      16
	push      0
	lea       ecx,dword ptr [ebp-255]
	push      ecx
	call      @_strtoul
	add       esp,12
	jmp       @10
@7:
	movsx     eax,byte ptr [ebp-255]
	jmp       @10
@6:
	mov       dl,byte ptr [ebp-255]
	sub       dl,88
	je        short @13
	sub       dl,32
	je        short @13
	jmp       short @11
@13:
	push      16
	push      0
	lea       ecx,dword ptr [ebp-254]
	push      ecx
	call      @_strtoul
	add       esp,12
	jmp       short @10
@11:
	push      10
	push      0
	lea       eax,dword ptr [ebp-256]
	push      eax
	call      @_strtoul
	add       esp,12
	jmp       short @10
@4:
	push      16
	push      0
	lea       edx,dword ptr [ebp-255]
	push      edx
	call      @_strtoul
	add       esp,12
	jmp       short @10
@5:
	mov       cl,byte ptr [ebp-255]
	sub       cl,88
	je        short @18
	sub       cl,32
	je        short @18
	jmp       short @16
@18:
	push      16
	push      0
	lea       eax,dword ptr [ebp-254]
	push      eax
	call      @_strtoul
	add       esp,12
	jmp       short @10
@16:
	push      10
	push      0
	lea       edx,dword ptr [ebp-256]
	push      edx
	call      @_strtoul
	add       esp,12
	jmp       short @10
@2:
	push      10
	push      0
	lea       ecx,dword ptr [ebp-256]
	push      ecx
	call      @_strtoul
	add       esp,12
@22:
@10:
	pop       edi
	pop       esi
	mov       esp,ebp
	pop       ebp
	ret 
@@GetIndex$qpc	endp
@GetIndex$qpc	ends
_TEXT	ends
_TEXT	segment dword public use32 'CODE'
@Dec2Bin$qpuclucc	segment virtual
@@Dec2Bin$qpuclucc	proc	near
?live16386@0:
	push      ebp
	mov       ebp,esp
	add       esp,-260
@23:
	push      256
	push      0
	lea       eax,dword ptr [ebp-260]
	push      eax
	call      @_memset
	add       esp,12
	xor       edx,edx
	mov       dword ptr [ebp-4],edx
	jmp       short @25
@24:
	mov       cl,byte ptr [ebp+20]
	sub       cl,1
	jb        short @26
	je        short @29
	dec       cl
	je        short @28
	jmp       short @26
@29:
	xor       eax,eax
	mov       al,byte ptr [ebp+16]
	mov       edx,dword ptr [ebp-4]
	inc       edx
	sub       eax,edx
	mov       cl,byte ptr [ebp+12]
	and       cl,1
	or        cl,1
	mov       byte ptr [ebp+eax-260],cl
	jmp       short @30
@28:
	xor       eax,eax
	mov       al,byte ptr [ebp+16]
	mov       edx,dword ptr [ebp-4]
	inc       edx
	sub       eax,edx
	mov       cl,byte ptr [ebp+12]
	and       cl,1
	xor       cl,1
	mov       byte ptr [ebp+eax-260],cl
	jmp       short @30
@26:
	xor       eax,eax
	mov       al,byte ptr [ebp+16]
	mov       edx,dword ptr [ebp-4]
	inc       edx
	sub       eax,edx
	mov       cl,byte ptr [ebp+12]
	and       cl,1
	mov       byte ptr [ebp+eax-260],cl
@30:
	sar       dword ptr [ebp+12],1
	inc       dword ptr [ebp-4]
@25:
	xor       eax,eax
	mov       al,byte ptr [ebp+16]
	cmp       eax,dword ptr [ebp-4]
	jg        short @24
	xor       edx,edx
	mov       dl,byte ptr [ebp+16]
	push      edx
	lea       ecx,dword ptr [ebp-260]
	push      ecx
	push      dword ptr [ebp+8]
	call      @_memcpy
	add       esp,12
@32:
	mov       esp,ebp
	pop       ebp
	ret 
@@Dec2Bin$qpuclucc	endp
@Dec2Bin$qpuclucc	ends
_TEXT	ends
_TEXT	segment dword public use32 'CODE'
@memsetw$qpususl	segment virtual
@@memsetw$qpususl	proc	near
?live16387@0:
	push      ebp
	mov       ebp,esp
	push      edi
@33:
	cmp       dword ptr [ebp+8],0
	je        @35
@34:
	cld	
	mov	   edi, dword ptr [ebp+8]
	mov	   ecx, dword ptr [ebp+16]
	shr	   ecx, 1
	mov	    ax, word ptr [ebp+12]
	shl	   eax, 16
	mov	    ax, word ptr [ebp+12]
	rep   stosd	
	and	 dword ptr [ebp+16], 1
	je        short @36
	stosw	
@36:
NoMore:
@37:
@35:
	pop       edi
	pop       ebp
	ret 
@@memsetw$qpususl	endp
@memsetw$qpususl	ends
_TEXT	ends
_TEXT	segment dword public use32 'CODE'
@memcpyw$qpust1lc	segment virtual
@@memcpyw$qpust1lc	proc	near
?live16388@0:
	push      ebp
	mov       ebp,esp
	push      esi
	push      edi
@38:
	cmp       dword ptr [ebp+8],0
	je        @41
	cmp       dword ptr [ebp+12],0
	je        @41
@40:
@39:
	movsx     eax,byte ptr [ebp+20]
	dec       eax
	jne       @43
@42:
	pushf	
	cld	
	mov	 edi, dword ptr [ebp+8]
	mov	 esi, dword ptr [ebp+12]
	mov	 ecx, dword ptr [ebp+16]
@44:
MaskLoop2:
	lodsw	
	mov	 dx, edi[0]
	cmp	 dx, 00000H
	jne       short @45
	stosw	
	loop      @44
	jmp       @46
@45:
NoData:
	add	 edi, 2
	loop      @44
@46:
SafeEnd:
	popf	
	jmp       @41
@43:
	movsx     edx,byte ptr [ebp+20]
	cmp       edx,2
	jne       @48
@47:
	pushf	
	cld	
	mov	 edi, dword ptr [ebp+8]
	mov	 esi, dword ptr [ebp+12]
	mov	 ecx, dword ptr [ebp+16]
@49:
MaskLoop3:
	lodsw	
	cmp	 ax, 00000H
	je        short @50
	stosw	
	loop      @49
	jmp       @51
@50:
NoData3:
	add	 edi, 2
	loop      @49
@51:
SafeEnd3:
	popf	
	jmp       @41
@48:
	cld	
	mov	 edi, dword ptr [ebp+8]
	mov	 esi, dword ptr [ebp+12]
	mov	 ecx, dword ptr [ebp+16]
	shr	 ecx, 1
	rep movsd	
	and	 dword ptr [ebp+16], 1
	je        short @52
	movsw	
@52:
NoMore3:
@53:
@54:
@41:
	pop       edi
	pop       esi
	pop       ebp
	ret 
@@memcpyw$qpust1lc	endp
@memcpyw$qpust1lc	ends
_TEXT	ends
_TEXT	segment dword public use32 'CODE'
@puttile$qpust1cci4bool	segment virtual
@@puttile$qpust1cci4bool	proc	near
?live16389@0:
	push      ebp
	mov       ebp,esp
	push      ecx
@55:
@56:
	xor       eax,eax
	mov       dword ptr [ebp-4],eax
	jmp       short @58
@57:
	mov       dl,byte ptr [ebp+28]
	push      edx
	movsx     ecx,byte ptr [ebp+20]
	push      ecx
	movsx     eax,byte ptr [ebp+20]
	imul      dword ptr [ebp-4]
	add       eax,eax
	add       eax,dword ptr [ebp+12]
	push      eax
	mov       edx,dword ptr [ebp-4]
	imul      edx,dword ptr [ebp+24]
	add       edx,edx
	add       edx,dword ptr [ebp+8]
	push      edx
	call      @@memcpyw$qpust1lc
	add       esp,16
@59:
	inc       dword ptr [ebp-4]
@58:
	movsx     ecx,byte ptr [ebp+16]
	cmp       ecx,dword ptr [ebp-4]
	jg        short @57
@61:
	pop       ecx
	pop       ebp
	ret 
@@puttile$qpust1cci4bool	endp
@puttile$qpust1cci4bool	ends
_TEXT	ends
_TEXT	segment dword public use32 'CODE'
@Snes2Pc$ql4bool	segment virtual
@@Snes2Pc$ql4bool	proc	near
?live16390@0:
	push      ebp
	mov       ebp,esp
	push      ecx
@62:
	cmp       dword ptr [ebp+8],0
	jne       short @63
	xor       eax,eax
@68:
	pop       ecx
	pop       ebp
	ret 
@63:
	cmp       byte ptr [ebp+12],0
	jne       short @65
	mov       edx,dword ptr [ebp+8]
	or        edx,8388608
	add       edx,-8388608
	and       edx,16711680
	sar       edx,1
	mov       dword ptr [ebp-4],edx
	mov       ecx,dword ptr [ebp+8]
	and       ecx,65535
	add       ecx,-32768
	add       dword ptr [ebp-4],ecx
	jmp       short @66
@65:
	mov       eax,dword ptr [ebp+8]
	or        eax,12582912
	add       eax,-12582912
	mov       dword ptr [ebp-4],eax
@66:
	mov       eax,dword ptr [ebp-4]
@67:
@64:
	pop       ecx
	pop       ebp
	ret 
@@Snes2Pc$ql4bool	endp
@Snes2Pc$ql4bool	ends
_TEXT	ends
_TEXT	segment dword public use32 'CODE'
@Pc2Snes$ql4bool	segment virtual
@@Pc2Snes$ql4bool	proc	near
?live16391@0:
	push      ebp
	mov       ebp,esp
	push      ecx
@69:
	cmp       byte ptr [ebp+12],0
	jne       short @70
	mov       eax,dword ptr [ebp+8]
	and       eax,16744448
	add       eax,eax
	mov       edx,dword ptr [ebp+8]
	and       edx,32767
	add       edx,32768
	or        eax,edx
	mov       dword ptr [ebp-4],eax
	jmp       short @71
@70:
	mov       ecx,dword ptr [ebp+8]
	or        ecx,12582912
	mov       dword ptr [ebp-4],ecx
@71:
	mov       eax,dword ptr [ebp-4]
@73:
@72:
	pop       ecx
	pop       ebp
	ret 
@@Pc2Snes$ql4bool	endp
@Pc2Snes$ql4bool	ends
_TEXT	ends
_TEXT	segment dword public use32 'CODE'
@FileSize$qp8std@FILE	segment virtual
@@FileSize$qp8std@FILE	proc	near
?live16392@0:
	push      ebp
	mov       ebp,esp
	add       esp,-8
@74:
	cmp       dword ptr [ebp+8],0
	jne       short @75
	or        eax,-1
	jmp       short @76
@75:
	push      dword ptr [ebp+8]
	call      @_ftell
	pop       ecx
	mov       dword ptr [ebp-8],eax
	push      2
	push      0
	push      dword ptr [ebp+8]
	call      @_fseek
	add       esp,12
	push      dword ptr [ebp+8]
	call      @_ftell
	pop       ecx
	mov       dword ptr [ebp-4],eax
	push      0
	push      dword ptr [ebp-8]
	push      dword ptr [ebp+8]
	call      @_fseek
	add       esp,12
	mov       eax,dword ptr [ebp-4]
@77:
@76:
	pop       ecx
	pop       ecx
	pop       ebp
	ret 
@@FileSize$qp8std@FILE	endp
@FileSize$qp8std@FILE	ends
_TEXT	ends
_TEXT	segment dword public use32 'CODE'
@MenuMap$qpusp8TMENUMAPi4bool	segment virtual
@@MenuMap$qpusp8TMENUMAPi4bool	proc	near
?live16393@0:
	push      ebp
	mov       ebp,esp
	add       esp,-296
@78:
	xor       eax,eax
	mov       dword ptr [ebp-4],eax
	mov       word ptr [ebp-14],31
	mov       word ptr [ebp-16],0
	mov       word ptr [ebp-18],0
	push      64
	push      0
	lea       edx,dword ptr [ebp-296]
	push      edx
	call      @@memsetw$qpususl
	add       esp,12
	mov       ecx,dword ptr [ebp+12]
	xor       eax,eax
	mov       word ptr [ecx+16388],ax
	mov       edx,dword ptr [ebp+12]
	mov       word ptr [edx+16390],ax
	mov       ecx,dword ptr [_myForm]
	mov       eax,dword ptr [ecx]
	mov       edx,dword ptr [eax+592]
	cmp       byte ptr [edx+44],0
	je        short @79
	mov       word ptr [ebp-18],11
@79:
	mov       ecx,dword ptr [_myForm]
	mov       eax,dword ptr [ecx]
	mov       edx,dword ptr [eax+588]
	cmp       byte ptr [edx+44],0
	je        short @80
	mov       word ptr [ebp-18],5
@80:
	mov       cx,word ptr [ebp-18]
	mov       ax,word ptr [ebp-14]
	shl       ax,cl
	mov       word ptr [ebp-16],ax
@81:
	xor       edx,edx
	mov       dword ptr [ebp-28],edx
	jmp       @83
@82:
@84:
	xor       ecx,ecx
	mov       dword ptr [ebp-32],ecx
	jmp       @86
@85:
	mov       eax,dword ptr [ebp-28]
	shl       eax,7
	mov       edx,dword ptr [ebp+12]
	lea       ecx,dword ptr [edx+eax]
	mov       eax,dword ptr [ebp-32]
	xor       edx,edx
	mov       dl,byte ptr [ecx+eax]
	mov       word ptr [ebp-6],dx
	and       word ptr [ebp-6],15
	push      0
	push      64
	movzx     ecx,word ptr [ebp-6]
	shl       ecx,6
	add       ecx,ecx
	add       ecx,offset _MENU
	push      ecx
	lea       eax,dword ptr [ebp-168]
	push      eax
	call      @@memcpyw$qpust1lc
	add       esp,16
	mov       dl,byte ptr [ebp+20]
	push      edx
	push      dword ptr [ebp+16]
	push      8
	push      8
	lea       ecx,dword ptr [ebp-168]
	push      ecx
	mov       eax,dword ptr [ebp+12]
	movzx     edx,word ptr [eax+16388]
	imul      edx,dword ptr [ebp+16]
	mov       ecx,dword ptr [ebp+12]
	movzx     eax,word ptr [ecx+16390]
	add       edx,eax
	add       edx,edx
	add       edx,dword ptr [ebp+8]
	push      edx
	call      @@puttile$qpust1cci4bool
	add       esp,24
	mov       edx,dword ptr [ebp+12]
	add       word ptr [edx+16390],8
@87:
	inc       dword ptr [ebp-32]
@86:
	mov       ecx,dword ptr [ebp+12]
	movzx     eax,word ptr [ecx+16386]
	cmp       eax,dword ptr [ebp-32]
	jg        @85
	mov       edx,dword ptr [ebp+12]
	add       word ptr [edx+16388],8
	mov       ecx,dword ptr [ebp+12]
	mov       word ptr [ecx+16390],0
@89:
	inc       dword ptr [ebp-28]
@83:
	mov       eax,dword ptr [ebp+12]
	movzx     edx,word ptr [eax+16384]
	cmp       edx,dword ptr [ebp-28]
	jg        @82
	mov       ecx,dword ptr [ebp+12]
	movzx     eax,word ptr [ecx+16384]
	shl       eax,3
	movzx     edx,word ptr [ebp-14]
	mov       ecx,edx
	cdq
	idiv      ecx
	mov       word ptr [ebp-20],ax
	mov       ax,word ptr [ebp-20]
	mov       word ptr [ebp-22],ax
@91:
	xor       eax,eax
	mov       dword ptr [ebp-36],eax
	jmp       @93
@92:
	mov       edx,dword ptr [ebp-36]
	imul      edx,dword ptr [ebp+16]
	add       edx,edx
	add       edx,dword ptr [ebp+8]
	mov       dword ptr [ebp-12],edx
@94:
	xor       ecx,ecx
	mov       dword ptr [ebp-40],ecx
	jmp       short @96
@95:
	mov       eax,dword ptr [ebp-12]
	mov       edx,dword ptr [ebp-40]
	cmp       word ptr [eax+2*edx],8468
	jne       short @98
	mov       ecx,dword ptr [_myForm]
	mov       eax,dword ptr [ecx]
	mov       edx,dword ptr [eax+600]
	cmp       byte ptr [edx+44],0
	jne       short @99
	mov       cx,word ptr [ebp-18]
	mov       ax,word ptr [ebp-14]
	shl       ax,cl
	mov       edx,dword ptr [ebp-12]
	mov       ecx,dword ptr [ebp-40]
	mov       word ptr [edx+2*ecx],ax
	jmp       short @100
@99:
	mov       eax,dword ptr [ebp-12]
	mov       edx,dword ptr [ebp-40]
	mov       cx,word ptr [ebp-16]
	mov       word ptr [eax+2*edx],cx
@100:
@98:
@101:
	inc       dword ptr [ebp-40]
@96:
	mov       eax,dword ptr [ebp+12]
	movzx     edx,word ptr [eax+16386]
	shl       edx,3
	cmp       edx,dword ptr [ebp-40]
	jg        short @95
	dec       word ptr [ebp-22]
	cmp       word ptr [ebp-22],0
	ja        short @103
	mov       cx,word ptr [ebp-20]
	mov       word ptr [ebp-22],cx
	dec       word ptr [ebp-14]
	cmp       word ptr [ebp-14],0
	jge       short @104
	mov       word ptr [ebp-14],0
@104:
@103:
@105:
	inc       dword ptr [ebp-36]
@93:
	mov       eax,dword ptr [ebp+12]
	movzx     edx,word ptr [eax+16384]
	shl       edx,3
	cmp       edx,dword ptr [ebp-36]
	jg        @92
@107:
	mov       esp,ebp
	pop       ebp
	ret 
@@MenuMap$qpusp8TMENUMAPi4bool	endp
@MenuMap$qpusp8TMENUMAPi4bool	ends
_TEXT	ends
_TEXT	segment dword public use32 'CODE'
@_freeTBL$qv	segment virtual
@@_freeTBL$qv	proc	near
?live16394@0:
	push      ebp
	mov       ebp,esp
	push      ecx
@108:
@109:
	xor       eax,eax
	mov       dword ptr [ebp-4],eax
@110:
	mov       edx,dword ptr [ebp-4]
	test      edx,edx
	jns       short @113
	add       edx,255
@113:
	sar       edx,8
	cmp       dword ptr [_table+2048+4*edx],0
	je        short @112
	mov       ecx,dword ptr [ebp-4]
	test      ecx,ecx
	jns       short @114
	add       ecx,255
@114:
	sar       ecx,8
	push      dword ptr [_table+2048+4*ecx]
	call      @_free
	pop       ecx
	mov       eax,dword ptr [ebp-4]
	test      eax,eax
	jns       short @115
	add       eax,255
@115:
	sar       eax,8
	xor       edx,edx
	mov       dword ptr [_table+2048+4*eax],edx
@112:
	mov       ecx,dword ptr [ebp-4]
	test      ecx,ecx
	jns       short @117
	add       ecx,255
@117:
	sar       ecx,8
	cmp       dword ptr [_table+4*ecx],0
	je        short @116
	mov       eax,dword ptr [ebp-4]
	test      eax,eax
	jns       short @118
	add       eax,255
@118:
	sar       eax,8
	push      dword ptr [_table+4*eax]
	call      @_free
	pop       ecx
	mov       edx,dword ptr [ebp-4]
	test      edx,edx
	jns       short @119
	add       edx,255
@119:
	sar       edx,8
	xor       ecx,ecx
	mov       dword ptr [_table+4*edx],ecx
@116:
	mov       eax,dword ptr [ebp-4]
	test      eax,eax
	jns       short @121
	add       eax,255
@121:
	sar       eax,8
	cmp       dword ptr [_table+1024+4*eax],0
	je        short @120
	mov       edx,dword ptr [ebp-4]
	test      edx,edx
	jns       short @122
	add       edx,255
@122:
	sar       edx,8
	push      dword ptr [_table+1024+4*edx]
	call      @_free
	pop       ecx
	mov       ecx,dword ptr [ebp-4]
	test      ecx,ecx
	jns       short @123
	add       ecx,255
@123:
	sar       ecx,8
	xor       eax,eax
	mov       dword ptr [_table+1024+4*ecx],eax
@120:
@124:
	inc       dword ptr [ebp-4]
	cmp       dword ptr [ebp-4],65536
	jl        @110
@126:
	pop       ecx
	pop       ebp
	ret 
@@_freeTBL$qv	endp
@_freeTBL$qv	ends
_TEXT	ends
_DATA	segment dword public use32 'DATA'
$mdaekeia	label	byte
	db	0
	db	255	dup(?)
_DATA	ends
_TEXT	segment dword public use32 'CODE'
@Text2Tbl$qpci	segment virtual
@@Text2Tbl$qpci	proc	near
?live16395@0:
	push      ebp
	mov       ebp,esp
	add       esp,-264
	push      esi
	push      edi
@127:
	mov       esi,offset $mdaekeia
	lea       edi,dword ptr [ebp-264]
	mov       ecx,64
	rep   movsd
@128:
	xor       eax,eax
	mov       dword ptr [ebp-8],eax
	mov       edx,dword ptr [ebp-8]
	cmp       edx,dword ptr [ebp+12]
	jge       short @130
@129:
	xor       ecx,ecx
	mov       dword ptr [ebp-4],ecx
@131:
	mov       eax,dword ptr [ebp-4]
	cmp       dword ptr [_table+4*eax],0
	je        short @133
	mov       edx,dword ptr [ebp-4]
	mov       ecx,dword ptr [_table+4*edx]
	mov       al,byte ptr [ecx]
	mov       edx,dword ptr [ebp+8]
	mov       ecx,dword ptr [ebp-8]
	cmp       al,byte ptr [edx+ecx]
	jne       short @133
	mov       al,byte ptr [ebp-4]
	mov       edx,dword ptr [ebp-8]
	mov       byte ptr [ebp+edx-264],al
	jmp       short @134
@133:
	inc       dword ptr [ebp-4]
	cmp       dword ptr [ebp-4],256
	jl        short @131
@134:
	cmp       dword ptr [ebp-4],256
	jl        short @136
	mov       ecx,dword ptr [ebp+8]
	mov       eax,dword ptr [ebp-4]
	mov       dl,byte ptr [ecx+eax]
	mov       ecx,dword ptr [ebp-8]
	mov       byte ptr [ebp+ecx-264],dl
@136:
@137:
	inc       dword ptr [ebp-8]
	mov       eax,dword ptr [ebp-8]
	cmp       eax,dword ptr [ebp+12]
	jl        short @129
@130:
	lea       eax,dword ptr [ebp-264]
@140:
@139:
	pop       edi
	pop       esi
	mov       esp,ebp
	pop       ebp
	ret 
@@Text2Tbl$qpci	endp
@Text2Tbl$qpci	ends
_TEXT	ends
_TEXT	segment dword public use32 'CODE'
_TEXT	ends
	?debug	C FB04075F6D79466F726D01000000
	public	_Vga
	public	_dirc
	public	_txtf
	public	_romf
	public	_tblf
	public	_cur_dir
	public	_FoundAt
	public	_ScrBuf
	public	_ram
	public	_tiles
	public	_map
	public	_txt
	public	_textbox
	public	_rom
	public	_reg
	public	_men
	public	_ips
	public	_table
	public	_cur_str
	public	_StartPos
	public	_ToEnd
	public	_curLine
	public	_indexLine
	public	_WinX
	public	_WinY
	public	_EStr
	public	_codes
	public	_duals
	public	_cnDraw
	public	_isActive
	public	_lpTxtBlocks
	public	_lpTxtPoints
	public	_lpPointSize
	public	_lpTxtMaxPos
@_strcpy	equ	_strcpy
	extrn	_strcpy:near
@_strtoul	equ	_strtoul
	extrn	_strtoul:near
@_memset	equ	_memset
	extrn	_memset:near
@_memcpy	equ	_memcpy
	extrn	_memcpy:near
@_ftell	equ	_ftell
	extrn	_ftell:near
@_fseek	equ	_fseek
	extrn	_fseek:near
	extrn	_myForm:dword
	extrn	_MENU:word
@_free	equ	_free
	extrn	_free:near
	?debug	C 9F76636C6533352E6C6962
	?debug	D "C:\Romhack\trans\dm\Tools\DMDText\kanaView.h" 13490 21608
	?debug	D "C:\Romhack\trans\dm\Tools\DMDText\kanaString.h" 13469 20891
	?debug	D "C:\Romhack\trans\dm\Tools\DMDText\DecompBlock.h" 13468 33031
	?debug	D "C:\Romhack\trans\dm\Tools\DMDText\HexData.h" 13469 29351
	?debug	D "C:\Romhack\trans\dm\Tools\DMDText\TextEdit.h" 13482 20983
	?debug	D "C:\Romhack\trans\dm\Tools\DMDText\Menu.h" 13463 34281
	?debug	D "C:\Romhack\trans\dm\Tools\DMDText\dos5x5.h" 13456 22794
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\pshpack8.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\prsht.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\CommCtrl.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\VCL\Commctrl.hpp" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\RichEdit.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\VCL\RichEdit.hpp" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\VCL\ToolWin.hpp" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\VCL\ComCtrls.hpp" 9289 6144
	?debug	D "C:\Romhack\trans\dm\Tools\DMDText\DMDMain.h" 13490 23118
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\tchar.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\dir.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\search.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\stdlib.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\conio.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\_nfile.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\stdio.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\VCL\extctrls.hpp" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\commdlg.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\VCL\CommDlg.hpp" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\VCL\StdCtrls.hpp" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\VCL\dialogs.hpp" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\VCL\forms.hpp" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\VCL\Menus.hpp" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\VCL\Imm.hpp" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\VCL\controls.hpp" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\VCL\graphics.hpp" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\VCL\classes.hpp" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\VCL\SysConst.hpp" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\VCL\sysutils.hpp" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\VCL\messages.hpp" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\VCL\SysInit.hpp" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\VCL\windows.hpp" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\VCL\system.hpp" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\VCL\wstring.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\VCL\dstring.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\unknwn.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\rpcnsip.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\rpcndr.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\rpcnterr.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\rpcnsi.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\rpcdcep.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\rpcdce.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\rpc.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\wtypes.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\basetyps.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\imm.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\mcx.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\winsvc.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\winnetwk.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\winreg.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\winver.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\wincon.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\winnls.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\winuser.h" 13079 33452
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\pshpack1.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\wingdi.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\winerror.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\winbase.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\string.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\pshpack2.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\poppack.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\pshpack4.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\ctype.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\winnt.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\windef.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\stdarg.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\excpt.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\_null.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\_defs.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\_stddef.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\mem.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\windows.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\VCL\sysdefs.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\VCL\vcl0.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\vcl\vcl.h" 9289 6144
	?debug	D "C:\PROGRA~1\BORLAND\CBUILD~1\INCLUDE\vcl.h" 9289 6144
	?debug	D "C:\Romhack\trans\dm\Tools\DMDText\GLOBALS.H" 13490 23404
	?debug	D "C:\Romhack\trans\dm\Tools\DMDText\Globals.cpp" 13486 270
	end
